KC-1368: Add gchat-app-setup for Google Chat integration - #2252
Open
sshrushanth-ks wants to merge 3 commits into
Open
KC-1368: Add gchat-app-setup for Google Chat integration#2252sshrushanth-ks wants to merge 3 commits into
sshrushanth-ks wants to merge 3 commits into
Conversation
Collect and store Google Chat/Pub/Sub credentials in a vault record and generate docker-compose, matching the Slack/Teams setup flow.
Drop unreliable inline JSON paste at the gchat-app-setup prompt; service account keys are too large for single-line terminal input.
sali-ks
reviewed
Jul 31, 2026
| import json | ||
| import os | ||
| import re | ||
| from typing import Any |
Contributor
There was a problem hiding this comment.
use any(), avoid using typing
sali-ks
reviewed
Jul 31, 2026
| """Google Chat App integration setup.""" | ||
|
|
||
| def get_integration_name(self): | ||
| return 'GChat' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Added a Commander setup command for Google Chat Service Mode, parallel to
slack-app-setup/teams-app-setup. It provisions Docker/KSM resources, collects Google Chat and Pub/Sub credentials, stores them on a vault config record, and generatesdocker-compose.ymlforcommander-gchat+gchat-app.Changes
gchat-app-setupcommand with Phase 1 Docker/KSM setup and Phase 2 Google Chat credential collectionGChatConfigand vault field contract:google_service_account_json,google_project_id,google_topic_id,google_subscription_id,chat_approvals_space_id, and slash-command IDs for record/folder/one-time-sharetype=service_account); rejected unreliable inline JSON pastespaces/docker-compose.ymlwithkeeper/gchat-app:latestandGCHAT_RECORD/COMMANDER_RECORD/KSM_CONFIGenv wiringget_integration_display_nameso UI text shows “Google Chat” while docker/env naming staysgchatgchat-app-setupinstart_service.pyandcommand_categories.py; documented setup and field contract in serviceREADME.mdtest_gchat_app_setup.pyfor naming, SA/file validation, Pub/Sub normalization, space IDs, and record field labels